//
//  TopTabView.h
//  TrainTree
//
//  Created by wanghui on 2017/9/5.
//  Copyright © 2017年 YouYeShu. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol TopTabViewDelegate <NSObject>

- (void)topTabViewTouch:(NSString *)Id index:(NSInteger)index;

@end

@interface TopTabView : UICollectionReusableView
  
@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;

@property(nonatomic,weak)  id <TopTabViewDelegate> delegate;
@property(nonatomic,strong)NSArray *dataArray;
@property(nonatomic,strong)NSMutableArray *selectArray;
/**主题列表*/
@property(nonatomic,strong)NSMutableArray *themeArray;
@end
